import java.util.Date;

import java.util.EventObject;


public class TimeEvent extends EventObject{

	private static final long serialVersionUID = 1L;
	
	private Date date;
	protected String message;
	
	public TimeEvent(Object arg0) {
		super(arg0);
        date = new Date();
        message="";
	}

	public TimeEvent(Object source, String message) {
		super(source);
		date = new Date();
		this.message = message;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
	
	
	
	
	
	
	
	

}
